package ee.subjects.backend.model.dao;

import java.util.List;

import ee.subjects.backend.model.data.Employee;

public interface EmployeeDAO 
{
	public int insertEmployee(Employee employee);
	public boolean deleteEmployeeById(int employeeId);
	public Employee getEmployeeById(int employeeId);
	public boolean updateEmployee(Employee updatedEmployeeObject);
	
	public boolean getIsPersonAlreadyAnEmployeeInAnEnterprise(int personId, int enterpriseId);
	public boolean registerPersonAsAnEnterpriseEmployee(int personId, int enterpriseId, String isActive);
	public List<Employee> getAllEmployees();
	public List<Employee> getAllEmployeeObjectsSubjectIsRelatedTo(int subjectId, int subjectType);
	public Employee getEmployeeByPersonId(int personId);
	
}
